package com.asialjim.wechat.official.message.output;

import com.asialjim.wechat.message.output.WeChatOutputMessage;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

/**
 * <h1><em>ASIAL JIM JAVA DOC</em></h1><hr/>
 * <h2>CLASS DESCRIPTION <i>[ NAME: WeChatOutputTransferCustomerMessage ]</i></h2><strong>
 * <p> TODO
 * </strong><p><p><em>Copyright &copy; Asial Jim Co., LTD</em><hr/>
 *
 * @author Asial Jim &nbsp;&nbsp; <span>Email:<a href="mailto:asialjim@hotmail.com">asialjim@hotmail.com</a> &nbsp;&nbsp; <a href="asialjim@qq.com">asialjim@qq.com</a></span>
 * @version 1.0.0
 * @since 2021/3/24   &nbsp;&nbsp; JDK 8
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@JacksonXmlRootElement(localName = "xml")
public class WeChatOutputTransferCustomerMessage extends WeChatOutputMessage {
    private static final long serialVersionUID = -1534281357873276534L;

    @JacksonXmlProperty(localName = "TransInfo")
    private TransInfo transInfo;

    public static class TransInfo{
        @JacksonXmlCData
        @JacksonXmlProperty(localName = "KfAccount")
        private String kfAccount;
    }
}
